Ext.define('AM.model.user.UserList', {
    extend: 'Ext.data.Model',
    fields: [{
        name: 'userId',
        type: 'string'
    }, {
        name: 'u.login_id',//账号
        mapping: 'loginID',
        type: 'string'
    }, {
        name: 'u.user_name',//姓名
        mapping: 'userName',
        type: 'string'
    }, {
        name: 'age',//年龄
        type: 'string'
    }, {
        name: 'u.sex_code',//性别
        mapping: 'sexCode',
        type: 'string'
    }, {
        name: 'u.folk_code',//民族
        mapping: 'folkCode',
        type: 'string'
    }, {
        name: 'dutyRemark',//职务
        type: 'string'
    }, {
        name: "mobileTelephone",//联系电话
        type: "string"
    }, {
        name: "remark",//备注
        type: "string"
    }, {
        name: "u.operate_time",//最后操作时间
        mapping: "operateTime",
        type: "string"
    }, {
    	name: 'isOperate',//是否可操作
    	type: 'string'
    }, {
        name: 'password',
        type: 'string'
    }, {
        name: 'email',
        type: 'string'
    }, {
        name: 'roleIds',
        type: 'string'
    },{
		name: 'u.sexCode',//性别，意见征求选择人员时用
		mapping: 'sexCode',
		type: 'string'
	},{
		name: 'deptName',//公司名称，意见征求选择人员时用
		type: 'string'
	},{
		name: 'roleNames',//角色名称，意见征求选择人员时用
		type: 'string'
	},{
		name: 'u.operateTime',//最后操作时间
		mapping: 'operateTime',
		type: 'string'
	},{
		name: 'isTemp',//是否为临时用户
		type: 'int'
	}]
});
